<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <script th:src="@{/js/jquery-3.6.0.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/js/city/distpicker.data.js}"></script>
    <script th:src="@{/js/city/distpicker.js}"></script>
    <script th:src="@{/js/city/distpicker.data.js}"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-12">
            <nav class="navbar navbar-default">
                    <div class="col-md-6 col-md-offset-4">
                    <p class="navbar-text" style="font-size: 30px">欢迎使用微信推送系统V1.1</p>
                    </div>
            </nav>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="alert alert-success " role="alert">系统已经成功推送[[${count}]]次
                <a th:href="@{/sendMessage}">
                    <button type="submit" class="btn btn-success">立即发送</button>
                </a>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12 panel panel-info">
            <div class="panel-heading">更换推送城市 tip:由于接口原因，根据此选项框更改城市可能会出现问题，建议通过配置修改。</div>
        <div data-toggle="distpicker" class="col-md-6 col-md-offset-3">
            <form th:action="@{/city}" method="post" class="form-horizontal">
                <div class="form-group">
                <select id="province" class="form-control" name="province" data-province="---- 选择省 ----"></select>
                </div>
                <div class="form-group">
                    <select id="city" class="form-control" name="city" data-city="---- 选择市 ----"></select>
                </div>
                <div class="form-group">
                    <select id="area" class="form-control" name="area" data-district="---- 选择区 ----"></select>
                </div>
                <div class="form-group"  style="text-align: center">
                <button type="submit" class="btn btn-success btn-lg">提交
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
                </button>
                </div>
            </form>
        </div>
        </div>
    </div>
</div>
</body>
</html>